﻿using DevExpress.Persistent.BaseImpl;
using EasyXaf.EntityDesigner.BusinessObjects.Entities.EntityProperties;

namespace EasyXaf.EntityDesigner.BusinessObjects.Entities.Appearances;

/// <summary>
/// 外观
/// </summary>
public partial class Appearance : BaseObject
{
    private partial IList<EntityProperty> GetTargetPropertyDataSource()
    {
        return Entity.Properties
            .Where(p => p.PropertyType != PropertyType.Unknown)
            .Where(p => p.IsBrowsable != DefaultBoolean.False)
            .ToList();
    }
}
